package student.aistar.design.decorator;

public class BuDingTea implements BurDen{

    Milk milk;

    public BuDingTea(Milk milk) {
        this.milk = milk;
    }

    @Override
    public String getBrand() {
        return "布丁奶茶";
    }

    @Override
    public double getPrice() {
        return milk.price() + 11.0d;
    }
}
